Skip to content

docs(observe): Observe section revamp (chunk 1)#701

Open
khushalsonawat wants to merge 14 commits into
devfrom
docs/observe-concepts
Open

docs(observe): Observe section revamp (chunk 1)#701
khushalsonawat wants to merge 14 commits into
devfrom
docs/observe-concepts

Conversation

@khushalsonawat

@khushalsonawat khushalsonawat commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

What this is

First chunk of the Observe revamp, stacked on docs/product-dropdown-order (parent PR #693). Replaces the oversized #681, which is closed in favour of landing the work in small, reviewable pieces.

What's included (the Observe section as revamped)

  • Overview (observe/index.mdx) with the trace-explorer image, and Quickstart (observe/quickstart.mdx)
  • Concepts (Explanation): spans, traces, sessions, users, voice-observability, observability-model, otel, traceai
  • Guides: Explore sessions & users (observe/features/session)
  • Reference: filter syntax, dashboard metrics, export/endpoints
  • Troubleshooting: no traces, missing attributes, dashboard numbers, alerts not firing
  • Nav: the Observe sidebar is now the revamped structure (Get started → Quickstart → Concepts → Guides → Reference → Troubleshooting), replacing the old Features / Manual Tracing / Integration layout. Group name kept as Observability so the product dropdown is unchanged
  • Mermaid rendering support these pages need (product-dropdown-order had no Mermaid component): Mermaid.astro + its registration, the skip-.mermaid guard in CodeCopyButtons.astro, and centering CSS in global.css

Deliberately out of scope (future chunks)

The traceAI SDK section, the tracing//integrations/ auto-instrumentation pages, the 148 api/ files, public/ asset churn, and the stray pr-assets/*.pdf from #681 all stay out.

Known broken links (intentional, land in later chunks)

The sidebar itself has no 404s. A few inline links in page bodies point at not-yet-migrated pages:

  • /docs/traceai/* (set-up-tracing, create-tool-spans, set-session-user-id, auto/livekit)
  • /docs/observe/features/tags

Two nav entries that never had pages even in #681 (concepts/alerts, reference/span-types) were dropped to avoid 404s.

Verification

  • Overview renders with its image; Quickstart, Concepts, Reference, Troubleshooting all 200
  • Mermaid diagrams render clean; sidebar shows the revamped structure with no old Features/Integration entries

…ers, voice)

First chunk of the Observe revamp, stacked on the product dropdown reorder.
Adds the Observe > Concepts pages as Explanation-mode docs, plus the Mermaid
rendering support they depend on, and repoints the Observe > Concepts sidebar
to them.

- New concept pages: spans, traces, sessions, users, voice-observability,
  observability-model, otel, traceai
- Mermaid support: add Mermaid.astro, register it in vite-docs-transform,
  skip .mermaid in copy buttons, and add diagram-centering CSS in global.css
- Nav: Observe > Concepts now points at /docs/observe/concepts/*

Links to not-yet-migrated pages (traceai/*, observe/quickstart,
observe/features/tags) are intentionally broken and land in later chunks.
… structure

Bring the Observe section in line with the revamp: the overview page (with its
trace-explorer image), the Quickstart, the Guides/Reference/Troubleshooting
pages, and the revamped Observe sidebar (Get started, Quickstart, Concepts,
Guides, Reference, Troubleshooting) in place of the old Features / Manual
Tracing / Integration layout.

- Add observe/index.mdx (overview) + llm-tracing-overview image, and
  observe/quickstart.mdx
- Add observe/reference/{trace-filter-syntax,dashboard-metric-definitions,
  export-formats}
- Add observe/troubleshooting/{no-traces-appearing,missing-attributes,
  dashboard-numbers-look-wrong,alerts-did-not-fire}
- Repurpose observe/features/session as the "Explore sessions & users" guide
- Nav: replace the old Observe items with the revamped structure (kept the
  group name 'Observability' so the product dropdown is unchanged); dropped the
  never-created concepts/alerts and reference/span-types entries to avoid 404s
@khushalsonawat khushalsonawat changed the title docs(observe): Observe concept pages (chunk 1 of the revamp) docs(observe): Observe section revamp (chunk 1) Jul 1, 2026
khushalsonawat and others added 8 commits July 1, 2026 17:15
…roject

- Add five Guides pages (scaffolds) under observe/guides/: navigating through
  the dashboard, setup evals in observe, setup alerts for your project, using
  filters, saving a view
- Add them to the Observe > Guides sidebar (kept Explore sessions & users)
- Dashboard guide dogfoods the LLM Observability cookbook via a Note, pointing
  readers to the cookbook that exercises every Observe feature end to end
- Rename the quickstart project to `self-improving-agent` (the running example
  we carry through the Observe docs) with a beginner-friendly request and
  matching expected output
…metry

- Reference sidebar is now: Span types (subfolder), Filter syntax, Filter
  metrics, Span attributes, Project sampling rate, traceAI
- Add a span-types/ subfolder: overview catalog plus one page per span kind
  (LLM, Tool, Retriever, Embedding, Reranker, Agent, Chain, Guardrail, Evaluator)
- Add filter-metrics, span-attributes, and project-sampling-rate reference pages
- Rename the traceAI SDK nav label to traceAI
- Remove the OpenTelemetry concept page and repoint every link to the external
  OpenTelemetry site (https://opentelemetry.io/); drop it from the sidebar
- Drop Dashboard metrics and Export and endpoints from the Reference sidebar
  (not in the new structure); the page files are kept but now unlinked
- Remove the 'Trace a LiveKit voice app' card: its target
  /docs/traceai/auto/livekit is not live on this branch, and we don't
  card non-live pages.
- Fix invalid card icon: compass -> layer-group (compass is not in this
  branch's Card.astro icon map, so it rendered blank).
- CardGroup down to cols=2 per the count % 3 rule.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Split the run-on worked example into clean sentences; drop the captured-fields
  restatement the opener already covers.
- Trim 'Why it matters' to the actual motivation; cut the decorative tricolon
  and the eval/alert/filter list already stated up top.
- Link evals at its true first mention (the opener), not later.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- New 'Inside a voice call' section: a turn span breaks down into
  speech-to-text, the model call, and text-to-speech (grounded in the
  LiveKit/Pipecat auto-instrumentation), so a reader sees what a voice
  trace looks like inside, not just that a call is a trace.
- New Mermaid of the call structure (replaces the two-paths plumbing diagram).
- Two ingestion paths now a scannable table (managed Vapi/Retell vs
  LiveKit/Pipecat auto-instrumentation).
- Cross-link to the observability model.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…base)

Rebased onto docs/observe-concepts, which had externalized OpenTelemetry.
Adopt the same change: OTel links now point to https://opentelemetry.io/.
Full revamp otherwise unchanged (compliance + one-read clarity).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
docs(observe): Observability model concept revamp
docs(observe): Voice observability concept revamp
Base automatically changed from docs/product-dropdown-order to dev July 2, 2026 13:10
…ph agent via observability

Full rewrite of the old LangChain/Gradio observability page into a how-to
cookbook: build a LangGraph support agent, instrument with traceAI grouped
by session and user, score with a platform Eval Task, diagnose the failing
turn from the scores, fix the prompt, confirm the gain with an alert and a
saved view. New slug improve-langgraph-agent-with-observability with a
redirect from the old one; eval setup click-by-click delegated to the
Setup evals guide
Guides move under an Explore dashboard subtree (overview, filters, views,
trace drawers, display options) with new Setup evals and Setup alerts pages
replacing the five flat guide pages. Reference collapses the span-types and
filter pages into a single Filters reference. Concept pages, the Observe
index, troubleshooting pages, and export formats get the content cleanup
pass; navigation updated to match
…w image

Pages reference only the webp; the raw 438 KB PNG capture was committed
alongside it by mistake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant